package com.xuxueli.commontdemo.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class ApiSet implements Serializable {

    private static final long serialVersionUID = 5390393587976656442L;

    /**
     * 表名
     */
    private String tableName;
    /**
     * 查询字段
     */
    private List<ApiResponseParam> selectList = new ArrayList<>();
    /**
     * 条件字段
     */
    private List<OpenApiColumnValueBO> whereList = new ArrayList<>();
    /**
     * 排序字段
     */
    private List<SortColumn> sortList = new ArrayList<>();
    /**
     * 是否分页
     */
    private Boolean existPage = false;
    /**
     * 页数
     */
    private Integer pageSize;
    /**
     * 页码
     */
    private Integer pageIndex;
    /**
     * SQL语句
     */
    private String sqlFinal;

}
